Concurrency and Communication in Transaction Logic

نویسندگان

  • Anthony J. Bonner
  • Michael Kifer
چکیده

In previous work, we developed Transaction Logic (or T R), which deals with state changes in deductive databases. T R provides a logical framework in which elementary database updates and queries can be combined into complex database transactions. T R accounts not only for the updates themselves, but also for important related problems, such as the order of update operations, non-determinism, and transaction failure and rollback. In the present paper, we propose Concurrent Transaction Logic (or CT R), which extends Transaction Logic with connectives for modeling the concurrent execution of complex processes. Concurrent processes in CT R execute in an interleaved fashion and can communicate and synchronize themselves. Like classical logic, CT R has a \Horn" fragment that has both a procedural and a declarative semantics, in which users can program and execute database transactions. CT R is thus a deductive database language that integrates concurrency, communication, and updates. All this is accomplished in a completely logical framework, including a natural model theory and a proof theory. Moreover, this framework is exible enough to accommodate many di erent semantics for updates and deductive databases. For instance, not only can updates insert and delete tuples, they can also insert and delete null values, rules, or arbitrary logical formulas. Likewise, not only can databases have a classical semantics, they can also have the well-founded semantics, the stable-model semantics, etc. Finally, the proof theory for CT R has an e cient SLD-style proof procedure. As in the sequential version of the logic, this proof procedure not only nds proofs, it also executes concurrent transactions, nds their execution schedules, and updates the database. A main result is that the proof theory is sound and complete for the model theory. Appears in Proceedings of the Joint International Conference and Symposium on Logic Programming (JICSLP), September 2{6 1996 Bonn, Germany, pages 142{156. MIT Press. This and related papers and software are available at the following web page: http://www.cs.toronto.edu/~bonner/transaction-logic.html Work supported in part by an Operating Grant from the Natural Sciences and Engineering Research Council of Canada. Supported in part by the NSF Grant IRI-9404629.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

STUBcast - efficient support for concurrency control in broadcast-based asymmetric communication environment

Observing that it is impractical to use traditional methods to control concurrency in broadcast-based asymmetric communication environment, we introduce a concurrency control protocol designed for broadcast-based transaction processing called STUBcast (Server Timestamp and Update Broadcast Supported Concurrency). STUBcast supports two new correctness criteria proposed in this paper Single Seria...

متن کامل

Concurrency Control Protocol for Broadcast-based Transaction Processing and Correctness Proof

Observing that it is impractical to use traditional methods to control concurrency for transaction processing in broadcast-based asymmetric communication environment, this paper introduces a concurrency control protocol designed for broadcast-based transaction processing called STUBcast (Server Timestamp and Update Broadcast Supported Concurrency). It then focuses on the correctness proof of ST...

متن کامل

Executable denotations for concurrent languages using Concurrent Transaction Logic

This paper presents an approach based on a Horn fragment of Concurrent Transaction Logic ( CT R) for semantic description and execution of programming languages. The Horn notation is used in much the same way that plain Horn logic is used to specify semantics of programming languages. However, CT R extends that framework a deductive database language which provides a declarative, logic programm...

متن کامل

ACID Sim Tools: A Simulation Framework for Distributed Transaction Processing Architectures

Modern network centric information systems implement highly distributed architectures that usually include multiple application servers. Application design is mainly based on the fundamental object-oriented principles and the adopted architecture matches the logical decomposition of applications (into several tiers like presentation, logic and data) to their software and hardware structuring. T...

متن کامل

A Transaction Replication Scheme for a Replicated Database with Node Autonomy

Many proposed protocols for replicated databases consider centralized control of each transaction so that given a transaction, some site will monitor the remote data access and transaction commit. We consider the ap preach of broadcasting transactions to remote sites and handling these transactions in their complete form at each site. We consider data of two types: shared-private data and publi...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1996